﻿<!doctype html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,height=device-height,inital-scale=1.0,maximum-scale=1.0,user-scalable=no;" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <title>订单操作</title>
	<link rel="stylesheet" href="/admin_wechat/plugins/weui/css/weui.min.css" />  
    <link href="/admin_wechat/css/css.css" rel="stylesheet" />
    <script src="/admin_wechat/scripts/common/jquery.js"></script>
    <script src="/admin_wechat/scripts/common/ajax-data.js"></script>
    <script src="/admin_wechat/scripts/common/base.js"></script>
    <script src="/admin_wechat/scripts/common/dialog.js"></script>
    <script src="/admin_wechat/scripts/order.js"></script>
	<script src="/admin_wechat/plugins/weui/js/weui.min.js"></script>
    <style type="text/css">
	.top{width:95%;height:150px;margin-right:auto;margin-left:auto;margin-top:20px}
	.left{width:48%;height:140px;float:left;background-color:#DBDBDB;text-align:center}
	.logo{height:50px;margin-top:30px}
	.right{width:48%;height:140px;float:right;background-color:#DBDBDB;text-align:center}
	.dele{padding-top:10px;color:#6f6969;font-size:18px}
	.btn{height:45px;width:95%;background-color:#DBDBDB;line-height:45px;margin-right:auto;margin-left:auto;margin-bottom:10px}
	.btn-left{float:left;padding-left:20px;color:#6f6969;font-size:18px}
	.btn-right{float:right;padding-right:35px;height:45px;position:relative}
	.btn-right img{width:25px;height:25px;position:absolute;top:50%;margin-top:-12.5px}
    </style>
</head>
<body>

<div class="top">
    <div class="left cacel">
        <img class="logo" src="../../images/close.jpg">
        <div class="dele">取消</div>
    </div>
    <div class="right lock">
        <img class="logo" src="../../images/lock.jpg">
        <div class="dele">锁定</div>
    </div>
</div>
<div class="btn update_discount">
    <div class="btn-right ">
        <img src="../../images/right.jpg">
    </div>
    <div class="btn-left">减免金额</div>
</div>
<div class="btn update_shipfee">
    <div class="btn-right">
        <img src="../../images/right.jpg">
    </div>
    <div class="btn-left">修改配送费用</div>
</div>
<div class="btn send">
    <div class="btn-right">
        <img src="../../images/right.jpg">
    </div>
    <div class="btn-left">发货</div>
</div>
    
<script>
    var oid, uid;
    $(function () {
        uid = getQueryString("uid")
        oid = getQueryString("oid")
        bindBtn();
    });

    function bindBtn() {
        $(".cacel").click(function () { order_cacel(oid, uid) });
        $(".lock").click(function () { order_lock(oid, uid) });
        $(".update_discount").click(function () { toUrl(PageUrl.Order_Update_Discount + "?oid=" + oid + "&uid=" + uid) });
        $(".update_shipfee").click(function () { toUrl(PageUrl.Order_Update_Shipfee + "?oid=" + oid + "&uid=" + uid) });
        $(".send").click(function () { toUrl(PageUrl.Order_Send + "?oid=" + oid + "&uid=" + uid) });
    }     
</script>
</body>
</html>
